//
//  FilterViewController.h
//  FMS
//
//  Created by Steven on 10/13/13.
//  Copyright (c) 2013 QGSVN. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FilterViewDelegate;

@interface FilterViewController : UITableViewController {
    NSDictionary *dictLanguage;
    NSMutableArray *mainArray;
    int filterType;
    int currentSelectedIndex;
    int currentRecordIndex;
    BOOL isLoadMore;
    BOOL isLock;
    BOOL didReadyLoadMore;
    
    UIActivityIndicatorView *myActivityView;
}

@property (unsafe_unretained) id<FilterViewDelegate> delegate;
@property (assign) int currentSelectedIndex;
@property (strong,nonatomic) NSString *buildingId;
@property (strong,nonatomic) NSString *serviceId;
@property (strong,nonatomic) NSString *campId;
@property (strong,nonatomic) NSString *unitId;
@property (strong,nonatomic) NSString *systemName;
@property (strong,nonatomic) NSMutableDictionary *filterValueDict;
@property (assign) BOOL itemType;

- (id)initWithStyle:(UITableViewStyle)style filterType:(int)_filterType;

@end

@protocol FilterViewDelegate <NSObject>

- (void)didSelectFilter:(NSMutableDictionary*)filterDict;
@end
